package myinterface.itheima_01;

public class MyInterfaceImplTwo implements MyInterface {
    @Override
    public void show1() {
        System.out.println("重写方法show1");
    }

    @Override
    public void show2() {
        System.out.println("重写方法show2");
    }
//重写默认方法
    @Override
    public void show3() {
        System.out.println("默认方法1");
    }

    @Override
    public void show4() {
        System.out.println("默认方法2");
    }
}
